package com.oa.ylms.apps.business.plan;

import java.util.List;

import com.oa.ylms.apps.entity.plan.CheckPlanValue;

public interface ICheckPlanService {
	
	public int addCheckPlan(int categoryId, int postId, String planOrders)throws Exception;
	
	public boolean modifyCheckPlan(int planId, String planOrders)throws Exception;
	
	public boolean deleteCheckPlan(int planId)throws Exception;
	
	public CheckPlanValue queryByPlanId(int planId)throws Exception;
	
	public CheckPlanValue queryByPostIdAndCategoryId(int categoryId, int postId)throws Exception;
	
	public List<CheckPlanValue> queryCheckPlanWithPage(Integer categoryId, Integer postId, Integer rows, Integer pageNo)throws Exception;
	
	public int countTPage(Integer categoryId, Integer postId, Integer rows)throws Exception;
	public int getStates(String planOrders,int currentState);
	public int getTotalNumber();
}
